package org.rency.crawler.fetch.service.policy;

import org.rency.crawler.fetch.helper.FetchCarrier;

/**
 * 描述: ${TODO}<br>
 * 最近修改时间:2017/11/22 11:45<br>
 *
 * @author CaiyuRen
 * @version V1.0
 * @since 2017/11/22 11:45
 */
public interface PolicyService {

  public String getPolicyName();

  public boolean accept(FetchCarrier carrier);

  /**
   * 是否支持重试
   * @return
   */
  public boolean retrySupport();

}